<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>注册 | 聚点团购</title>
<jsp:include page="../home/style.jsp" />
<jsp:include page="../home/vForm.jsp" />
</head>
<body>
<div class="topbg"></div>
<div class="container">
	<s:include value="/page/home/top.jsp" />
    <div class="main">
    	<s:include value="/page/home/left.jsp" />
        <div class="content">
        	<div class="today_tuan">
            	<div class="cont_top"></div>
                <div class="cont_body">
                	<div class="regist">
                    	<div class="regist_tit"><span>注册</span> 或者 <a href="#" class="logintxt">登录</a></div>
                        <s:form action="/user/customer" method="post" onsubmit="return vform(this)">
                        	<div class="formlist clear">
                            	<label><span class="list_tit">Email</span><s:textfield id="email"  name="user.email" cssClass="ipt w290"/></label>
                                <p class="regist_tip">登录及找回密码用，不会公开</p>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">用户名</span><s:textfield id="username" name="user.username" cssClass="ipt w290"/></label>
                                <p class="regist_tip">6-10个字符</p>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">密码</span><s:password id="password"  name="user.password" cssClass="ipt w290"/></label>
                                <p class="regist_tip">6-10个字符</p>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">确认密码</span><s:password id="passwordAgain"  name="passwordAgain" cssClass="ipt w290"/></label>
                                <p class="regist_tip">与第一次相同</p>
                            </div>
                            <div class="formlist clear">
                            	<span class="list_tit">所在城市</span>
                                <s:select list="cities" listKey="id" listValue="name" name="cityId">
                                </s:select>
                                <p class="regist_tip"><label><input type="checkbox" class="ipc" name="sub" value="true"/>订阅每日最新团购信息</label></p>
                            </div>
                            <s:submit cssClass="regist_btn" key="zhuche" />
                        </s:form>
                    </div>
                </div>
                <div class="cont_down2"></div>
            </div>
            <s:include value="/page/home/footer.jsp" />
        </div>
    </div>
</div>
<script type="text/javascript">init();</script>
</body>
</html>
